package com.hbx.eduservice.mapper;

import com.hbx.eduservice.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hbx.eduservice.entity.dto.CoursePublishVo;
import com.hbx.eduservice.entity.frontvo.CourseWebVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2023-10-02
 */
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    //根据课程id 多表查询课程发布信息
    CoursePublishVo getPublishCourseInfo(String courseId);

    CourseWebVo getBaseCourseInfoMapper(String courseId);

}
